package com.mo.global.utils;

import com.mo.global.model.system.Job;
import com.mo.global.model.system.Module;
import com.mo.global.model.system.Role;
import com.mo.global.model.system.Staff;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @Auther:Lang
 * @Date:2022-12-08
 * @Time:15:38
 * @Description:TODO
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class LoginToken {
    private Staff staff;
    private Role role;
    private Date loginTime;
    private Job job;
    private   List<List<Module>> modules;
    private String token;
}
